package com.hang.ad;

import com.hang.ad.vo.AdPlan;
import com.hang.ad.vo.AdPlanRequest;
import com.hang.ad.vo.CommonResponse;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public class SponsorClientHystrix implements SponsorClient {
    @Override
    public CommonResponse<List<AdPlan>> getAdPlan(AdPlanRequest request) {
        return new CommonResponse<>(-1, "eureka-client-ad-sponsor server error");
    }
}
